package com.rc.saas.mini.service.order;

import com.rc.saas.mini.common.base.BaseService;
import com.rc.saas.mini.mapper.order.OrderDiscountRecordMapper;
import com.rc.saas.mini.model.order.OrderDiscountRecord;
import com.rc.saas.mini.model.order.OrderDiscountRecordExample;
import com.rc.saas.mini.vo.order.OrderDiscountVo;

import java.util.List;

/**
 * @author wangzhengwei
 * @create 2021/4/23
 */
public interface OrderDiscountRecordService extends BaseService<Long, OrderDiscountRecord, OrderDiscountRecordExample, OrderDiscountRecordMapper> {
    List<OrderDiscountRecord> selectByOrderId(String tenantCode, Long orderId);

    List<OrderDiscountVo> listOrderDiscountVo(Long orderId);
}
